package com.sc.nft.controller.request;

import com.sc.nft.enums.AppTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

@Data
public class LlGetRandomRequest {


    @ApiModelProperty("客户端类型")
    @NotNull(message = "客户端类型不能为空")
    private AppTypeEnum appType;
    @ApiModelProperty("类型 1: 支付 2 提现/钱包支付")
    @NotNull(message = "类型不能为空")
    @Range(min = 1L,max = 2L,message = "类型范围不正确")
    private Integer type;


}
